<{$css}>
<div class="form-nav">
    <ul>
    	<li class="first"><a href="blockscall.php"><{$smarty.const._AM_TOOLS_BC_MANAGE}></a></li>
    	<li class="middle"><a href="blockscall.php?op=new"><{$smarty.const._AM_TOOLS_BC_ADDBLOCK}></a></li>
    	<li class="last-current"><{$smarty.const._AM_TOOLS_BC_EDITBLOCK}><span class="hook"></span></li>
    </ul>
</div>
<h4><{$smarty.const._AM_TOOLS_BC_QUICKCALL}></h4>
<div class="codegen">
<textarea class="xoblk" onclick="this.focus(); this.select();">
<{$xoblk}>
</textarea>
</div>
<h4><{$smarty.const._AM_TOOLS_BC_TPLCALL}></h4>
<div class="codegen">
<textarea class="xoblktpl" onclick="this.focus(); this.select();">
<{$xoblktpl}>
</textarea>
</div>
<form name="<{$form.name}>" id="<{$form.name}>" action="<{$form.action}>" method="<{$form.method}>" <{$form.extra}> >
<table width="100%" class="outer">
	<tr>
		<th colspan="2"><{$form.title}></th>
	</tr>
	<{foreachq item=item from=$form.elements}>

	<{if !$item.hidden}>
	<tr>
		<td valign="top" class="odd">
			<div style="font-weight:bold"><{if $item.required}><span style="float:right;color: #ff0000;">*</span><{/if}> <{$item.caption}></div>
		</td>
		<td class="even"><{$item.body}></td>
	</tr>
	<{else}>
		<{$item.body}>
	<{/if}>
	<{/foreach}>
</table>
</form>